<?php echo $this->element('menu'); ?>
<table>
	<tr>
		<th>id</th>
		<th>userId</th>
		<th>name</th>
		<th>description</th>
		<th>creadted</th>
		<th>updated</th>
		<th>delete_flag</th>
		<th>action</th>
	</tr>

	<?php $i=0; foreach($boards as $board): $i++; ?>
	<tr>
		<td><?php echo $board['Board']['id'] ?></td>
		<td><?php echo $board['Board']['user_id'] ?></td>
		<td><?php echo $board['Board']['name'] ?></td>
		<td><?php echo $board['Board']['description'] ?></td>
		<td><?php echo $board['Board']['created'] ?></td>
		<td><?php echo $board['Board']['updated'] ?></td>
		<td><?php echo $board['Board']['delete_flag'] ?></td>
		<td><?php 
				echo $this->Html->link('edit', array('action'=>'editInfoOfBoard', $board['Board']['id']));
				echo ' | ' ;
				echo $this->Html->link('delete', array('action'=>'deleteBoard', $board['Board']['id']));
				echo ' | ' ;
				echo $this->Html->link('view', array('action'=>'viewBoard', $board['Board']['id']));

			?></td>
	</tr>
	<?php endforeach; ?>
</table>